export function  getTextStr (x, y, font, x_, y_, str) {
	var data = "TEXT " + x + "," + y + ",\"" + font + "\"," + 0 + "," + x_ + "," + y_ + "," + "\"" + str + "\"\r\n";
	return data;
}


export function  getBarStr (x, y, codetype, height, readable, narrow, wide, content) {
    var data = "BARCODE " + x + "," + y + ",\"" + codetype + "\"," + height + "," + readable + "," + 0 + "," + narrow + "," + wide + ",\"" + content + "\"\r\n";
	return data;
}

export function  getBarLineStr (x, y, width, height) {
    var data = "BAR " + x + "," + y + "," + width + "," + height + "\r\n";
	return data;
}

export function  getQRCodeStr (x, y, level, width, mode, content) {
    var data = "QRCODE " + x + "," + y + "," + level + "," + width + "," + mode + "," + 0 + ",\"" + content + "\"\r\n"
	return data;
}